load("@io_bazel_rules_go//go:def.bzl", "go_test")

go_test(
    name = "tiflash_test",
    timeout = "short",
    srcs = [
        "ddl_tiflash_test.go",
        "main_test.go",
    ],
    flaky = True,
    shard_count = 32,
    deps = [
        "//pkg/config",
        "//pkg/ddl",
        "//pkg/ddl/logutil",
        "//pkg/ddl/placement",
        "//pkg/ddl/util",
        "//pkg/domain",
        "//pkg/domain/infosync",
        "//pkg/kv",
        "//pkg/meta/model",
        "//pkg/parser/ast",
        "//pkg/session",
        "//pkg/sessionctx",
        "//pkg/store/gcworker",
        "//pkg/store/mockstore",
        "//pkg/store/mockstore/teststore",
        "//pkg/store/mockstore/unistore",
        "//pkg/table",
        "//pkg/tablecodec",
        "//pkg/testkit",
        "//pkg/testkit/external",
        "//pkg/testkit/testfailpoint",
        "//pkg/testkit/testsetup",
        "//pkg/types",
        "//pkg/util",
        "//pkg/util/sqlkiller",
        "@com_github_pingcap_failpoint//:failpoint",
        "@com_github_pingcap_kvproto//pkg/metapb",
        "@com_github_stretchr_testify//require",
        "@com_github_tikv_client_go_v2//oracle",
        "@com_github_tikv_client_go_v2//testutils",
        "@com_github_tikv_client_go_v2//tikv",
        "@com_github_tikv_pd_client//clients/router",
        "@com_github_tikv_pd_client//constants",
        "@org_uber_go_goleak//:goleak",
        "@org_uber_go_zap//:zap",
    ],
)
